//
//  RankModel.swift
//  ShareMusic
//
//  Created by 胡岩 on 16/5/16.
//  Copyright © 2016年 胡岩. All rights reserved.
//

import UIKit

class RankModel: NSObject {
    var tag_type_name:String?
    var data:NSArray?
    var model:RankDataModel?
    var array:NSMutableArray?
    init(dic:[String:AnyObject]) {
        super.init()
        self.setValuesForKeysWithDictionary(dic)
        if data?.count > 0 {
            array = NSMutableArray.init(capacity: 0)
            for dic in data! {
                model = RankDataModel.init(dic: dic as! [String : AnyObject])
                array?.addObject(model!)
            }
        }
    }
    
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
        
    }
}
